package com.apartmentManage.service;

import com.apartmentManage.entity.ApartmentTutor;

import java.util.List;

public interface ApartmentTutorService {
    /*查询所有*/
    List<ApartmentTutor> getAll();
    /*条件查询*/
    List<ApartmentTutor> getByRequirement(ApartmentTutor apartmentTutor);

    ApartmentTutor getByAccountName(ApartmentTutor apartmentTutor);
    /*根据NO查询*/
    ApartmentTutor getByNo(String no);
    /*添加*/
    boolean save(ApartmentTutor apartmentTutor);
    /*修改*/
    boolean update(ApartmentTutor apartmentTutor);
    /*删除*/
    boolean delete(String no);
}
